
package ics314;

import java.awt.Point;

public class RadioStation implements PositionalEntity{
  
  private String id;
  private int rad;
  private boolean farAway;
  private boolean over;
  private Point position;
  
  public RadioStation (String id, int r, boolean f, boolean o, Point position) {  // Not sure how we're going to do if the plane is too far away or over the station, but I put in booleans for now.
    
	this.id = id;
    rad = r;
    farAway = f;
    over = o;
    this.position = position;
    
  }
  
  public int getRadial (){
     
    return rad;
     
  }

  public boolean isTooFarAway() {
    
    return farAway;
    
  }

  public boolean isDirectlyOver() {
    
    return over;
    
  }
  
  public String getID() {
	  return id;
  }

@Override
public Point getPosition() {
	return position;
}

}
